package com.schoolComments.mapper;

import com.schoolComments.entity.Shop;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 */
@Repository
public interface ShopMapper extends BaseMapper<Shop> {
    Shop queryShopInfoById(@Param("id") Long id);

    List<Shop> queryShopByType(@Param("typeId") Integer typeId);
}
